//
//  HBPayCoinModel.h
//  HeartBeat
//
//  Created by karong on 2023/9/14.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HBPayModel : NSObject
///共可打包購買章節
@property (nonatomic, assign) NSInteger can_buy_num;
///共可打包下載章節
@property (nonatomic, assign) NSInteger can_download_num;
///單章價格
@property (nonatomic, assign) NSInteger unit_price;
///打包購買價格
@property (nonatomic, strong) NSArray * buy_percent;

- (void)calculationPrice;

@end

@interface HBPayCoinModel : NSObject

///打包章節數
@property (nonatomic, assign) NSInteger chapter_num;
///優惠百分比
@property (nonatomic, assign) NSInteger percent;
@property (nonatomic, strong) NSString * desc;


///折後價
@property (nonatomic, assign) NSInteger discountedPrice;
///原價
@property (nonatomic, assign) NSInteger originalPrice;

@end

NS_ASSUME_NONNULL_END
